package com.jinmdz.fmis.dao.model.document;

import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 图片文件
 *
 * @author GuanKui
 * @date 2020/2/28 14:41
 */
@ApiModel(value = "图片文件", description = "图片文件")
public class PhotoDocumentFileItem extends BaseBean {


    /**
     * 表主键
     */
    @ApiModelProperty(value = "表主键", name = "id", position = 1)
    private Integer id;

    /**
     * 文档类型编码，对应字典【document_type】
     */
    @ApiModelProperty(value = "文档类型编码，对应字典【document_type】", name = "documentTypeCode", position = 2)
    private Integer documentTypeCode;

    /**
     * 文件网络访问路径
     */
    @ApiModelProperty(value = "文件网络访问路径", name = "filePath", position = 3)
    private String filePath;

    /**
     * 缩略图文件网络访问路径
     */
    @ApiModelProperty(value = "缩略图文件网络访问路径", name = "thumbPath", position = 4)
    private String thumbPath;
    /**
     * 版本号
     */
    @ApiModelProperty(value = "版本号", name = "version", position = 5)
    private Long version;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDocumentTypeCode() {
        return documentTypeCode;
    }

    public void setDocumentTypeCode(Integer documentTypeCode) {
        this.documentTypeCode = documentTypeCode;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getThumbPath() {
        return thumbPath;
    }

    public void setThumbPath(String thumbPath) {
        this.thumbPath = thumbPath;
    }

    public Long getVersion() {
        return version;
    }

    public PhotoDocumentFileItem setVersion(Long version) {
        this.version = version;
        return this;
    }
}
